import React from "react";
import { Header } from "./Header";
import { BrowserRouter, Route, Link, Switch } from 'react-router-dom';
import Content from "./Content";

import { Provider } from 'react-redux';
import store from "./store";


//! router hooks里的方法
const App = () => {
    return (
        <Provider store={store}>
            <BrowserRouter>
                <Header />
                <Content />
            </BrowserRouter>
        </Provider>
    )
}

export default App;
